<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>使用过滤器dome</title>
</head>
<body>
<div>{{user.username}} -- {{user.username | length}}</div>
<div>{{mytime|dformat}}</div>
</body>
</html>